package com.fc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fc.dto.ExpenseDTO;

import com.fc.dto.pageQuery.ExpensePageQueryDTO;
import com.fc.entity.Expense;
import com.fc.result.PageResult;

import java.util.List;


public interface IExpenseService extends IService<Expense> {

    void saveExpense(ExpenseDTO expenseDTO);

    void updateExpense(ExpenseDTO expenseDTO);

    PageResult listExpense(ExpensePageQueryDTO expensePageQueryDTO);

    void approve(Long id);

    void reject(Long id);

}
